package com.gongpingjialoan.bean.car;

import com.google.gson.annotations.SerializedName;

import java.util.List;

public class OrderRecord {


    /**
     * status : success
     * msg : message
     * data : {"records":[{"status":1,"can_refund":true,"car":{"domain":"看车网","gpj_pub_personal":false,"model_slug":"bseries_1976","has_model_detail":"yes","last_price":"","mile":"5.0","pub_timestamp":"1475732330","year":"2014","brand_slug":"changan","qs_tags":"","gpj_index":"9.8","viewed":false,"city":"成都","pub_time":"10-06","title":"长安汽车 长安睿骋 1.8T 自动 尊贵型","id":67182336,"cs_clean":false,"lowest_price":"","thumbnail":"http://gongpingjia.qiniudn.com/44bf7fda1258c90236d5d639b85d9627af4d16b4","status":"sale","price":"8.8","car_tag":"certify","model_slug_zh":"长安睿骋","source_type":"cpo","model_detail_slug_zh":"2013款 1.8T 自动 尊贵型 国4","dealer_category":"dealer","distance":"","car_id":67182336,"time":"10月6日","is_certify":true,"origin_price":"","brand_slug_zh":"长安"},"status_zh":"等待服务","type":"car_ordered_record","id":22},{"status":1,"can_refund":true,"car":{"domain":"看车网","gpj_pub_personal":false,"model_slug":"bseries_1976","has_model_detail":"yes","last_price":"","mile":"5.0","pub_timestamp":"1475732330","year":"2014","brand_slug":"changan","qs_tags":"","gpj_index":"9.8","viewed":false,"city":"成都","pub_time":"10-06","title":"长安汽车 长安睿骋 1.8T 自动 尊贵型","id":67182336,"cs_clean":false,"lowest_price":"","thumbnail":"http://gongpingjia.qiniudn.com/44bf7fda1258c90236d5d639b85d9627af4d16b4","status":"sale","price":"8.8","car_tag":"certify","model_slug_zh":"长安睿骋","source_type":"cpo","model_detail_slug_zh":"2013款 1.8T 自动 尊贵型 国4","dealer_category":"dealer","distance":"","car_id":67182336,"time":"10月6日","is_certify":true,"origin_price":"","brand_slug_zh":"长安"},"promo_car_id":123,"promo_price":7.8,"status_zh":"等待服务","type":"promo_car_ordered_record","id":22}],"total_page":1}
     */

    private String status;
    private String msg;
    private DataBean data;

    public String getStatus() {
        return status;
    }

    public void setStatus(String status) {
        this.status = status;
    }

    public String getMsg() {
        return msg;
    }

    public void setMsg(String msg) {
        this.msg = msg;
    }

    public DataBean getData() {
        return data;
    }

    public void setData(DataBean data) {
        this.data = data;
    }

    public static class DataBean {
        /**
         * records : [{"status":1,"can_refund":true,"car":{"domain":"看车网","gpj_pub_personal":false,"model_slug":"bseries_1976","has_model_detail":"yes","last_price":"","mile":"5.0","pub_timestamp":"1475732330","year":"2014","brand_slug":"changan","qs_tags":"","gpj_index":"9.8","viewed":false,"city":"成都","pub_time":"10-06","title":"长安汽车 长安睿骋 1.8T 自动 尊贵型","id":67182336,"cs_clean":false,"lowest_price":"","thumbnail":"http://gongpingjia.qiniudn.com/44bf7fda1258c90236d5d639b85d9627af4d16b4","status":"sale","price":"8.8","car_tag":"certify","model_slug_zh":"长安睿骋","source_type":"cpo","model_detail_slug_zh":"2013款 1.8T 自动 尊贵型 国4","dealer_category":"dealer","distance":"","car_id":67182336,"time":"10月6日","is_certify":true,"origin_price":"","brand_slug_zh":"长安"},"status_zh":"等待服务","type":"car_ordered_record","id":22},{"status":1,"can_refund":true,"car":{"domain":"看车网","gpj_pub_personal":false,"model_slug":"bseries_1976","has_model_detail":"yes","last_price":"","mile":"5.0","pub_timestamp":"1475732330","year":"2014","brand_slug":"changan","qs_tags":"","gpj_index":"9.8","viewed":false,"city":"成都","pub_time":"10-06","title":"长安汽车 长安睿骋 1.8T 自动 尊贵型","id":67182336,"cs_clean":false,"lowest_price":"","thumbnail":"http://gongpingjia.qiniudn.com/44bf7fda1258c90236d5d639b85d9627af4d16b4","status":"sale","price":"8.8","car_tag":"certify","model_slug_zh":"长安睿骋","source_type":"cpo","model_detail_slug_zh":"2013款 1.8T 自动 尊贵型 国4","dealer_category":"dealer","distance":"","car_id":67182336,"time":"10月6日","is_certify":true,"origin_price":"","brand_slug_zh":"长安"},"promo_car_id":123,"promo_price":7.8,"status_zh":"等待服务","type":"promo_car_ordered_record","id":22}]
         * total_page : 1
         */

        private int total_page;
        private List<RecordsBean> records;

        public int getTotal_page() {
            return total_page;
        }

        public void setTotal_page(int total_page) {
            this.total_page = total_page;
        }

        public List<RecordsBean> getRecords() {
            return records;
        }

        public void setRecords(List<RecordsBean> records) {
            this.records = records;
        }

        public static class RecordsBean {
            /**
             * status : 1
             * can_refund : true
             * car : {"domain":"看车网","gpj_pub_personal":false,"model_slug":"bseries_1976","has_model_detail":"yes","last_price":"","mile":"5.0","pub_timestamp":"1475732330","year":"2014","brand_slug":"changan","qs_tags":"","gpj_index":"9.8","viewed":false,"city":"成都","pub_time":"10-06","title":"长安汽车 长安睿骋 1.8T 自动 尊贵型","id":67182336,"cs_clean":false,"lowest_price":"","thumbnail":"http://gongpingjia.qiniudn.com/44bf7fda1258c90236d5d639b85d9627af4d16b4","status":"sale","price":"8.8","car_tag":"certify","model_slug_zh":"长安睿骋","source_type":"cpo","model_detail_slug_zh":"2013款 1.8T 自动 尊贵型 国4","dealer_category":"dealer","distance":"","car_id":67182336,"time":"10月6日","is_certify":true,"origin_price":"","brand_slug_zh":"长安"}
             * status_zh : 等待服务
             * type : car_ordered_record
             * id : 22
             * promo_car_id : 123
             * promo_price : 7.8
             */

            private int serve_status;
            private boolean can_refund;
            private CarBean car;
            private String contact_type;
            private String status_zh;
            private String type;
            private int id;
            private int promo_car_id;
            private double promo_price;

            private int refund_status;

            public String getContact_type() {
                return contact_type;
            }

            public void setContact_type(String contact_type) {
                this.contact_type = contact_type;
            }

            /**
             * promo_car : {"status":"cancelled","city":"成都","refresh_time":null,"dealer_id":45962,"tags":null,"staff_status":"pending","promo_price":7.25,"last_days":3,"flag":"P","sold_time":null,"begin_time":"2016-09-24T19: 48: 32","staff_note":"","car_id":66311981,"id":2482}
             */


            private PromoCarBean promo_car;

            public boolean isCan_refund() {
                return can_refund;
            }

            public void setCan_refund(boolean can_refund) {
                this.can_refund = can_refund;
            }

            public CarBean getCar() {
                return car;
            }

            public void setCar(CarBean car) {
                this.car = car;
            }

            public String getStatus_zh() {
                return status_zh;
            }

            public void setStatus_zh(String status_zh) {
                this.status_zh = status_zh;
            }

            public String getType() {
                return type;
            }

            public void setType(String type) {
                this.type = type;
            }

            public int getId() {
                return id;
            }

            public void setId(int id) {
                this.id = id;
            }

            public int getPromo_car_id() {
                return promo_car_id;
            }

            public void setPromo_car_id(int promo_car_id) {
                this.promo_car_id = promo_car_id;
            }

            public double getPromo_price() {
                return promo_price;
            }

            public void setPromo_price(double promo_price) {
                this.promo_price = promo_price;
            }

            public PromoCarBean getPromo_car() {
                return promo_car;
            }

            public void setPromo_car(PromoCarBean promo_car) {
                this.promo_car = promo_car;
            }

            public int getRefund_status() {
                return refund_status;
            }

            public void setRefund_status(int refund_status) {
                this.refund_status = refund_status;
            }

            public int getServe_status() {
                return serve_status;
            }

            public void setServe_status(int serve_status) {
                this.serve_status = serve_status;
            }

            public static class CarBean {
                /**
                 * domain : 看车网
                 * gpj_pub_personal : false
                 * model_slug : bseries_1976
                 * has_model_detail : yes
                 * last_price :
                 * mile : 5.0
                 * pub_timestamp : 1475732330
                 * year : 2014
                 * brand_slug : changan
                 * qs_tags :
                 * gpj_index : 9.8
                 * viewed : false
                 * city : 成都
                 * pub_time : 10-06
                 * title : 长安汽车 长安睿骋 1.8T 自动 尊贵型
                 * id : 67182336
                 * cs_clean : false
                 * lowest_price :
                 * thumbnail : http://gongpingjia.qiniudn.com/44bf7fda1258c90236d5d639b85d9627af4d16b4
                 * status : sale
                 * price : 8.8
                 * car_tag : certify
                 * model_slug_zh : 长安睿骋
                 * source_type : cpo
                 * model_detail_slug_zh : 2013款 1.8T 自动 尊贵型 国4
                 * dealer_category : dealer
                 * distance :
                 * car_id : 67182336
                 * time : 10月6日
                 * is_certify : true
                 * origin_price :
                 * brand_slug_zh : 长安
                 */

                private String domain;
                private boolean gpj_pub_personal;
                private String model_slug;
                private String has_model_detail;
                private String last_price;
                private String mile;
                private String pub_timestamp;
                private String year;
                private String brand_slug;
                private String qs_tags;
                private String gpj_index;
                private boolean viewed;
                private String city;
                private String pub_time;
                private String title;
                private int id;
                private boolean cs_clean;
                private String lowest_price;
                private String thumbnail;
                private String status;
                private String price;
                private String car_tag;
                private String model_slug_zh;
                private String source_type;
                private String model_detail_slug_zh;
                private String dealer_category;
                private String distance;
                private int car_id;
                private String time;
                private boolean is_certify;
                private String origin_price;
                private String brand_slug_zh;
                private String phone;

                public String getDomain() {
                    return domain;
                }

                public void setDomain(String domain) {
                    this.domain = domain;
                }

                public boolean isGpj_pub_personal() {
                    return gpj_pub_personal;
                }

                public void setGpj_pub_personal(boolean gpj_pub_personal) {
                    this.gpj_pub_personal = gpj_pub_personal;
                }

                public String getModel_slug() {
                    return model_slug;
                }

                public void setModel_slug(String model_slug) {
                    this.model_slug = model_slug;
                }

                public String getHas_model_detail() {
                    return has_model_detail;
                }

                public void setHas_model_detail(String has_model_detail) {
                    this.has_model_detail = has_model_detail;
                }

                public String getLast_price() {
                    return last_price;
                }

                public void setLast_price(String last_price) {
                    this.last_price = last_price;
                }

                public String getMile() {
                    return mile;
                }

                public void setMile(String mile) {
                    this.mile = mile;
                }

                public String getPub_timestamp() {
                    return pub_timestamp;
                }

                public void setPub_timestamp(String pub_timestamp) {
                    this.pub_timestamp = pub_timestamp;
                }

                public String getYear() {
                    return year;
                }

                public void setYear(String year) {
                    this.year = year;
                }

                public String getBrand_slug() {
                    return brand_slug;
                }

                public void setBrand_slug(String brand_slug) {
                    this.brand_slug = brand_slug;
                }

                public String getQs_tags() {
                    return qs_tags;
                }

                public void setQs_tags(String qs_tags) {
                    this.qs_tags = qs_tags;
                }

                public String getGpj_index() {
                    return gpj_index;
                }

                public void setGpj_index(String gpj_index) {
                    this.gpj_index = gpj_index;
                }

                public boolean isViewed() {
                    return viewed;
                }

                public void setViewed(boolean viewed) {
                    this.viewed = viewed;
                }

                public String getCity() {
                    return city;
                }

                public void setCity(String city) {
                    this.city = city;
                }

                public String getPub_time() {
                    return pub_time;
                }

                public void setPub_time(String pub_time) {
                    this.pub_time = pub_time;
                }

                public String getTitle() {
                    return title;
                }

                public void setTitle(String title) {
                    this.title = title;
                }

                public int getId() {
                    return id;
                }

                public void setId(int id) {
                    this.id = id;
                }

                public boolean isCs_clean() {
                    return cs_clean;
                }

                public void setCs_clean(boolean cs_clean) {
                    this.cs_clean = cs_clean;
                }

                public String getLowest_price() {
                    return lowest_price;
                }

                public void setLowest_price(String lowest_price) {
                    this.lowest_price = lowest_price;
                }

                public String getThumbnail() {
                    return thumbnail;
                }

                public void setThumbnail(String thumbnail) {
                    this.thumbnail = thumbnail;
                }

                public String getStatus() {
                    return status;
                }

                public void setStatus(String status) {
                    this.status = status;
                }

                public String getPrice() {
                    return price;
                }

                public void setPrice(String price) {
                    this.price = price;
                }

                public String getCar_tag() {
                    return car_tag;
                }

                public void setCar_tag(String car_tag) {
                    this.car_tag = car_tag;
                }

                public String getModel_slug_zh() {
                    return model_slug_zh;
                }

                public void setModel_slug_zh(String model_slug_zh) {
                    this.model_slug_zh = model_slug_zh;
                }

                public String getSource_type() {
                    return source_type;
                }

                public void setSource_type(String source_type) {
                    this.source_type = source_type;
                }

                public String getModel_detail_slug_zh() {
                    return model_detail_slug_zh;
                }

                public void setModel_detail_slug_zh(String model_detail_slug_zh) {
                    this.model_detail_slug_zh = model_detail_slug_zh;
                }

                public String getDealer_category() {
                    return dealer_category;
                }

                public void setDealer_category(String dealer_category) {
                    this.dealer_category = dealer_category;
                }

                public String getDistance() {
                    return distance;
                }

                public void setDistance(String distance) {
                    this.distance = distance;
                }

                public int getCar_id() {
                    return car_id;
                }

                public void setCar_id(int car_id) {
                    this.car_id = car_id;
                }

                public String getTime() {
                    return time;
                }

                public void setTime(String time) {
                    this.time = time;
                }

                public boolean isIs_certify() {
                    return is_certify;
                }

                public void setIs_certify(boolean is_certify) {
                    this.is_certify = is_certify;
                }

                public String getOrigin_price() {
                    return origin_price;
                }

                public void setOrigin_price(String origin_price) {
                    this.origin_price = origin_price;
                }

                public String getBrand_slug_zh() {
                    return brand_slug_zh;
                }

                public void setBrand_slug_zh(String brand_slug_zh) {
                    this.brand_slug_zh = brand_slug_zh;
                }

                public String getPhone() {
                    return phone;
                }

                public void setPhone(String phone) {
                    this.phone = phone;
                }
            }

            public static class PromoCarBean {
                /**
                 * status : cancelled
                 * city : 成都
                 * refresh_time : null
                 * dealer_id : 45962
                 * tags : null
                 * staff_status : pending
                 * promo_price : 7.25
                 * last_days : 3
                 * flag : P
                 * sold_time : null
                 * begin_time : 2016-09-24T19: 48: 32
                 * staff_note :
                 * car_id : 66311981
                 * id : 2482
                 */

                @SerializedName("status")
                private String statusX;
                private String city;
                private Object refresh_time;
                private int dealer_id;
                private Object tags;
                private String staff_status;
                @SerializedName("promo_price")
                private double promo_priceX;
                private int last_days;
                private String flag;
                private Object sold_time;
                private String begin_time;
                private String staff_note;
                private int car_id;
                @SerializedName("id")
                private int idX;

                public String getStatusX() {
                    return statusX;
                }

                public void setStatusX(String statusX) {
                    this.statusX = statusX;
                }

                public String getCity() {
                    return city;
                }

                public void setCity(String city) {
                    this.city = city;
                }

                public Object getRefresh_time() {
                    return refresh_time;
                }

                public void setRefresh_time(Object refresh_time) {
                    this.refresh_time = refresh_time;
                }

                public int getDealer_id() {
                    return dealer_id;
                }

                public void setDealer_id(int dealer_id) {
                    this.dealer_id = dealer_id;
                }

                public Object getTags() {
                    return tags;
                }

                public void setTags(Object tags) {
                    this.tags = tags;
                }

                public String getStaff_status() {
                    return staff_status;
                }

                public void setStaff_status(String staff_status) {
                    this.staff_status = staff_status;
                }

                public double getPromo_priceX() {
                    return promo_priceX;
                }

                public void setPromo_priceX(double promo_priceX) {
                    this.promo_priceX = promo_priceX;
                }

                public int getLast_days() {
                    return last_days;
                }

                public void setLast_days(int last_days) {
                    this.last_days = last_days;
                }

                public String getFlag() {
                    return flag;
                }

                public void setFlag(String flag) {
                    this.flag = flag;
                }

                public Object getSold_time() {
                    return sold_time;
                }

                public void setSold_time(Object sold_time) {
                    this.sold_time = sold_time;
                }

                public String getBegin_time() {
                    return begin_time;
                }

                public void setBegin_time(String begin_time) {
                    this.begin_time = begin_time;
                }

                public String getStaff_note() {
                    return staff_note;
                }

                public void setStaff_note(String staff_note) {
                    this.staff_note = staff_note;
                }

                public int getCar_id() {
                    return car_id;
                }

                public void setCar_id(int car_id) {
                    this.car_id = car_id;
                }

                public int getIdX() {
                    return idX;
                }

                public void setIdX(int idX) {
                    this.idX = idX;
                }
            }
        }
    }
}
